<template>
  <div class="dashuju">
    <div class="Header">
      <h3>建德市投资项目全流程智能管理系统</h3>
      <div class="Header-right">
        <div class="imageOne">
          <img src="./../../public/shouyeImage/管理.png" alt="" />
        </div>
        <div class="ImageTwo">
          <img src="./../../public/shouyeImage/头像.png" alt="" />
          <p>admin</p>
          <img src="./../../public/shouyeImage/展开icon.png" alt="" />
        </div>
      </div>
    </div>
    <div class="Section">
      <div class="NavBar">
        <TabBar msg="/dashuju"></TabBar>
      </div>
      <div class="Section-right">
        <div class="content">
          <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
            <el-tab-pane label="政府投资项目" name="first">
              <div class="btn_top">
                <el-button type="primary" size="small" style="margin-left:10px;">规划项目</el-button>
                <el-button type="primary" size="small" style="margin-left:30px;">实施项目</el-button>
                <el-button type="primary" size="small" style="margin-left:30px;">预备项目</el-button>
                <el-button type="primary" size="small" style="margin-left:30px;">前期项目</el-button>
                <el-button type="primary" size="small" style="margin-left:30px;">档案项目</el-button>
                <el-button type="primary" size="small" style="margin-left:30px;">退库项目</el-button>
              </div>
              <div class="table_one">
                <div class="btn_box">
                  <div class="Transfer"></div>
                  <div class="carry over"></div>
                  <div class=""></div>
                  <div class=""></div>
                  <div class=""></div>
                  <div class=""></div>
                </div>
              </div>
            </el-tab-pane>
            <el-tab-pane label="企业投资项目" name="second">日了狗了</el-tab-pane>
            <el-tab-pane label="信息化项目" name="third">卷钱跑路</el-tab-pane>
          </el-tabs>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import Vue from "vue";
import TabBar from "../components/TabBar";
import { Navbar, TabItem } from "mint-ui";

Vue.component(Navbar.name, Navbar);
Vue.component(TabItem.name, TabItem);
export default {
  name: "Dashuju",
  components: {
    TabBar
  },
  data() {
    return {
      selected: "",
      activeName: "first"
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>
<style lang="less" scoped>
.dashuju {
  width: 100%;
  height: 100%;
  background-image: url("./../..//public/shouyeImage/背景.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-sizing: border-box;
  padding: 0 15px 50px 15px;
  .Header {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    h3 {
      color: white;
    }
    .Header-right {
      display: flex;
      align-items: center;
      .imageOne {
        width: 35px;
        height: 35px;
        background-color: rgb(92, 169, 211);
        border-radius: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        img {
          width: 25px;
          height: 20px;
        }
      }
      .ImageTwo {
        display: flex;
        align-items: center;
        justify-items: center;
        margin-left: 5px;
        p {
          font-size: 12px;
          margin: 0 5px 0px 5px;
          color: white;
        }
        img:nth-child(1) {
          width: 20px;
          height: 20px;
        }
      }
    }
  }
  .Section {
    width: 100%;
    height: 90%;
    // background-color: tomato;
    display: flex;
    justify-content: space-between;
    .NavBar {
      width: 8.5%;
      height: 90%;
      box-sizing: border-box;
      padding-top: 5px;
    }
    .Section-right {
      width: 91.5%;
      height: 100%;
      background-color: #f7f7f7;
      box-sizing: border-box;
      padding: 5px;
      border-radius: 10px;
      .content {
        width: 99%;
        background-color: #94c9d8;
        margin-left: 8px;
        .btn_top {
          width: 100%;
          height: 45px;
          background-color: #c7e2f3;
        }
        .table_one {
          width: 100%;
          height: 600px;
          background-color: #f7f7f7;
          border: 1px solid #b4b3b3;
          .btn_box {
            width: 100%;
            height: 45px;
            border-bottom: 1px dashed black;
          }
        }
      }
    }
  }
}

.mint-navbar .mint-tab-item.is-selected {
  background-color: rgb(205, 133, 17) !important;
}
.el-button {
  margin-top: 5px;
  margin-left: 10px;
}
.el-button--primary {
  border: 1px solid #94c9d8;
  background-color: #94c9d8;
}
</style>
